#pragma once

inline bool CheckStringForQuery(std::string& szString, bool bAcceptWildcard = false)
{
	size_t nIndex = bAcceptWildcard ? 
		szString.find_first_of("',;"):
		szString.find_first_of("',;_%^");

	if(nIndex != -1)
	{
		ReportLog(LOG_WARNNING, "%s - Invalid!", szString.c_str());
		return false;
	}

	return true;
}